import http from "@/util/request";

const api = "/api/car"

export default {

    getPageData(queryVo) {
        return http.post(`${api}/page`, queryVo)
    },

    getBrandNameList() {
        return http.get(`${api}/brandNameList`)
    },

    getDateList() {
        return http.get(`${api}/dateList`)
    },

    getSeriesNamePrice() {
        return http.get(`${api}/seriesNamePrice`)
    },

    getBrandNameRankCount(param) {
        return http.get(`${api}/brandNameRankCount/${param}`)
    },

    getBrandNameCount() {
        return http.get(`${api}/brandNameCount`)
    },

    getSeriesNameList() {
        return http.get(`${api}/seriesNameList`)
    },

    getSeriesNameCity(param) {
        return http.get(`${api}/seriesNameCity/${param}`)
    },

    getDatePriceCount(param) {
        return http.get(`${api}/datePriceCount/${param}`)
    },


    deleteData(id) {
        return http.get(`${api}/delete/${id}`)
    }


}
